package com.ruoyi.contract.constant;

/**
 * Created by zhangxiang on 2021/9/18.
 */
public class ConConstants {

    //甲方
    public static String conCusRelationPartA = "A";

    //乙方
    public static String conCusRelationPartB = "B";

    //丙方
    public static String conCusRelationPartC = "C";

    //冻结标志
    public static String frozen = "1";

    //非冻结标志
    public static String noneFreeze="0";

    //作废标志
    public static String invalid = "1";

    //文件路径
    public static String fileType = "contract";

    //收款代码
    public static String supplyCol = "COL";

    //付款代码
    public static String supplyPay = "PAY";

    //合同流水代码
    public static String conSerialCode = "CONTRACT_CODE";


    //拟稿代码
    public static String fileDraftCode = "DRAFT";

    //正本代码
    public static String fileOfficialCode = "OFFICIAL";

    //会签表代码
    public static String fileSignCode = "SIGN";

    //合同附件
    public static String fileAnnexCode = "ANNEX";

    //通用存在代码
    public static String isTrue = "1";

    /**
     * 合同会签
     */
    public static String signType1="SIGN";

    /**
     * 印章审批
     */
    public static String signType2="SEAL";


    /**
     * 货代收款结算单
     */
    public static String signType3="BILLSETTLEMENT";


    //单次
    public static String TYPE_SIN = "SING";

    //长期
    public static String TYPE_LONG ="LONG";

    public static String TYPE_FRAME="FRAME";

    public static String TYPE_SUB="SUB";

    public static String TYPE_PETTY="PETTY";

    public static String TYPE_SPEC="SPECIAL";

    public static String TYPE_FORMAT_LONG="FORMAT_LONG";


    public static String getFrameCode(String code){
        return code+"(K)";
    }

    public static String getSINCode(String code){
        return code+"(D)";
    }

    public static String getPETTYCode(String code){
        return code+"(XD)";
    }

    public static String getSPECIALCode(String code) {
        return code+"(S)";
    }
}
